projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c73bdb2
)
button: Don't emit a signal on broken grabs
author
Benjamin Otte
<otte@redhat.com>
Mon, 2 Dec 2013 20:21:22 +0000
(21:21 +0100)
committer
Benjamin Otte
<otte@redhat.com>
Tue, 3 Dec 2013 00:57:38 +0000
(
01:57
+0100)
We don't emit one on grab notify, so we don't want one for broken grabs
either.
gtk/gtkbutton.c
patch
|
blob
|
history
diff --git
a/gtk/gtkbutton.c
b/gtk/gtkbutton.c
index 456db7907bb20265878d158a098b95a997d8b633..ab7c81900b3bbc98b2de48012d47098fb691811a 100644
(file)
--- a/
gtk/gtkbutton.c
+++ b/
gtk/gtkbutton.c
@@
-1983,7
+1983,7
@@
gtk_button_grab_broken (GtkWidget *widget,
{
save_in = priv->in_button;
priv->in_button = FALSE;
- g
_signal_emit (button, button_signals[RELEASED], 0
);
+ g
tk_real_button_released (button
);
if (save_in != priv->in_button)
{
priv->in_button = save_in;